﻿namespace PacketRush.Core
{
    /// <summary>
    /// Contains fields used by the system to identify system packet types
    /// </summary>
    internal static class SystemPacketTypes
    {
        /// <summary>
        /// Identifies a packet that is used to broadcast a message to all connections
        /// that a new client has connected
        /// </summary>
        internal static readonly int ConnectionBroadcast = -1;

        /// <summary>
        /// Identifies a packet that is used to broadcast a message to all connections
        /// that a client has disconnected
        /// </summary>
        internal static readonly int DisconnectionBroadcast = -2;

        /// <summary>
        /// Identifies a ping packet
        /// </summary>
        internal static readonly int Ping = -3;
    }
}
